import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.ThreadPoolExecutor;

public class Demo8 {
    public static void main(String[] args) {
//        ThreadPoolExecutor threadPoolExecutor = new ThreadPoolExecutor();

//        threadPoolExecutor.submit();

//        ThreadPool

//        ExecutorService executorService = Executors.newFixedThreadPool(10);

//        ExecutorService executorService = Executors.newCachedThreadPool();

        ExecutorService executorService = Executors.newSingleThreadExecutor();
    }
}
